var math/big.natTwo
8 uses
math/big (current package)
nat.go#L38: natTwo = nat{2}
prime.go#L92: nm3 := nat(nil).sub(nm1, natTwo)
prime.go#L101: x = x.set(natTwo)
prime.go#L104: x = x.add(x, natTwo)
prime.go#L158: return n.cmp(natTwo) == 0
prime.go#L219: nm2 := nat(nil).sub(n, natTwo) // n-2
prime.go#L280: if vk.cmp(natTwo) == 0 || vk.cmp(nm2) == 0 {
prime.go#L316: t1 = t1.sub(t1, natTwo)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |